package com.hb.software.department.dao;

import com.hb.software.dao.BaseDao;
import com.hb.software.entity.department.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DepartmentDao  extends BaseDao<Department,Long> {

    List<Department> findByName(String name);

    public long findLastId();

}